package org.huang.sample10.controller;

import org.huang.sample10.dal.dao.db3.TClassMapper;
import org.huang.sample10.dal.dataobject.TClass;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * @描述：AppController类描述
 * @作者: huanganwei
 * @创建时间: 2021-07-31 03:23:17
 * @版本: 1.0
 */
@RestController
public class AppController {

    @Resource
    private TClassMapper tClassMapper;


    @GetMapping("/test")
    public List<TClass> test(){
        return tClassMapper.selectAll();
    }
}
